//
//  PezMonkey.m
//  PezMonkey
//
//  Created by Spence DiNicolantonio on 11/3/09.
//  Copyright 2009 Necrosoft. All rights reserved.
//

#import "PezMonkey.h"


@implementation PezMonkey


#pragma mark -
#pragma mark Alloc

/**
 * Overrides NSObject's allocWithZone: to prevent instantiation.
 */
+ (id)allocWithZone:(NSZone *)zone {
	return nil;
}


#pragma mark -
#pragma mark Init

/**
 * Overrides NSObject's init to prevent instantiation.
 */
- (id)init {
	[self doesNotRecognizeSelector:_cmd];
	[self release];
	return nil;
}


#pragma mark -
#pragma mark Initialize

/**
 * Initializes the backend Chipmunk engine. This method should be called at the 
 * beginning of any simulation utilizing PezMonkey physics.
 */
+ (void)initialize {
	cpInitChipmunk();
}

@end
